import { SDominionPlayerScore } from "../../../../../Message/Public/SDominionPlayerScore";
type int = number;
//class DomWarRankInfo
    
    export  class DomWarRankInfo
    {
        

        public get rank(): int
        {
            return this._rank;
        }

        public set rank(arg1: int)
        {
            this._rank = arg1;
            return;
        }

        public get outPutValue(): number
        {
            if (this._scoreInfo) 
            {
                if (this._outPutType % 2 == 0) 
                {
                    return this._scoreInfo.damage;
                }
                return this._scoreInfo.killPlayerNum;
            }
            return -1;
        }

        public get outPutType(): int
        {
            return this._outPutType;
        }

        public set outPutType(arg1: int)
        {
            this._outPutType = arg1;
            return;
        }

        public get scoreInfo(): SDominionPlayerScore
        {
            return this._scoreInfo;
        }

        public set scoreInfo(arg1: SDominionPlayerScore)
        {
            this._scoreInfo = arg1;
            return;
        }

        /* internal */ /* var */_scoreInfo: SDominionPlayerScore;

        /* internal */ /* var */_rank: int;

        /* internal */ /* var */_outPutType: int;
    }
